package config

//kafka配置
type KafkaConfig struct {
	Address string `ini:"address"`
	Topic   string `ini:"topic"`
	MsgSize int32  `ini:"msg_size"`
}

//日志配置
type CollectConfig struct {
	//LogFileName string `ini:"logfile_path"`
	Key string `ini:"key"`
}

//etcd配置
type EtcdConfig struct {
	EtcdAddr string `ini:"address"`
}

//Config
type Config struct {
	KafkaConfig   `ini:"kafka"`
	CollectConfig `ini:"collect"`
	EtcdConfig    `ini:"etcd"`
}
